cash flows using direct method